package com.hoshiicloud.registered;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author MARK
 */
@Slf4j
@EnableEurekaClient
@EnableCircuitBreaker
@EnableFeignClients
@SpringBootApplication(scanBasePackages = {"com.hoshiicloud.registered", "com.hoshiicloud.common"})
public class HoshiicloudRegisteredUsersApplication {

    public static void main(String[] args) {
        SpringApplication.run(HoshiicloudRegisteredUsersApplication.class, args);
        log.info("租户注册服务启动成功");
    }

}
